package cn.hznc.domain.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.gitee.sunchenbin.mybatis.actable.annotation.Column;
import com.gitee.sunchenbin.mybatis.actable.annotation.Table;
import com.gitee.sunchenbin.mybatis.actable.constants.MySqlTypeConstant;
import io.swagger.models.auth.In;
import lombok.Getter;
import lombok.Setter;
import org.springframework.integration.graph.IntegrationGraphServer;

/**
 * @Author：Administrator
 * @Date：2023/7/17 15:17
 */
@Getter
@Setter
@Table(name = "t_equipment_group")
@TableName(value = "t_equipment_group")
public class EquipmentGroupEntity{

    /**
     * 系统编码
     */
    @Column(name = "id",type = MySqlTypeConstant.INT,length = 11 , isKey = true ,isAutoIncrement = true)
    @TableId(type = IdType.AUTO)
    private Integer id;

    /**
     * 机床类型分类
     */
    @Column(name = "equipment_type_group",type = MySqlTypeConstant.VARCHAR,length = 100)
    @TableField("equipment_type_group")
    private String equipmentGroupType;

    /**
     * 机床id
     */
    @Column(name = "equipment_id",type = MySqlTypeConstant.INT,length = 11)
    @TableField("equipment_id")
    private Integer equipmentId;

    /**
     * 机床名
     */
    @Column(name = "equipment_name",type = MySqlTypeConstant.VARCHAR,length = 100)
    @TableField("equipment_name")
    private String equipmentName;
}
